#@adminLayout()
#define main()
#set(map={},aTh=["姓名","IP地址","登陆时间"],aTd=["accountId","ip","loginAt"])
<div class="card">
    #@cardIndex("登陆日志","sys/loginlog",map,aTh,aTd)
</div>
#end
#define cardBtn()
<button class="btn btn-sm btn-outline-danger waves-effect cardBtn" data-url="/admin/sys/loginlog/clearLoginLog"><i
        class="zmdi zmdi-close"></i> 清空日志
</button>
#end
#define cardIndexTbody()
<td data-column="loginAt">#date(x.loginAt)</td>
<td data-column="ip">#(x.ip)</td>
<td data-column="accountId">
    #for(xx:accountList)
        #if(xx.id==x.accountId)
        #(xx.fullName)
        #end
    #end
</td>
#end